export interface AddAdvertisingParams {
  advertisingTitle: string
  advertisingContent: string
  redirectUrl: string
}

export interface UpdateAdvertisingParams extends AddAdvertisingParams {
  id: string
}

export interface DeleteAdvertisingParams {
  id: string
}

export type AdvertisingList = ApiResponseData<
  PaginationResponse<
    {
      id: string
      advertisingTitle: string
      advertisingContent: string
      redirectUrl: string
    }[]
  >
>

export type AdvertisingFormItem = AddAdvertisingParams & {
  id?: string
}
